package org.anderground.internal.graphics.factories;

import org.anderground.core.graphics.Path;
import org.anderground.core.graphics.factories.PathFactory;
import org.anderground.internal.graphics.abstaractions.AbstractPath;
import org.anderground.internal.graphics.impl.AwtPath;

public class PathFactoryImpl extends PathFactory {

	@Override
	public AbstractPath create() {
		return new AwtPath();
	}

	@Override
	public AbstractPath create(Path path) {
		return new AwtPath((AwtPath) path.getDelegate());
	}

}
